package com.qf.mapper;

import com.qf.pojo.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PermissionMapper {
    List<Permission> queryAllPermissions(@Param("start") Integer start, @Param("limit") Integer limit);

    List<Permission> queryPermission(Integer permissionId);

    Permission queryPermissionCount();

    int updatePermission(Permission permission);

    int insertPermission(Permission permission);
}
